import request from "@/utils/request";


export function page(brd,page,pageSize) {
    return request({
        url: '/admin/getBrand?'+'page='+page+'&pageSize='+pageSize,
        method: 'post',
        data:brd
    })
}
export function changeBrand(brd) {
    return request({
        url: '/admin/changeBrand',
        method: 'post',
        data:brd
    })
}

export function deleteBrand(id) {
    return request({
        url: '/admin/deleteBrand?id='+id,
        method: 'delete'
    })
}

export function addBrand(brd) {
    return request({
        url: '/admin/addBrand',
        method: 'post',
        data:brd
    })
}


export function getBrandList() {
    return request({
        url: '/admin/getBrandList',
        method: 'get',
    })
}

